package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_chessmove", desc = "象棋大逃杀日志", autoSave = true, uploadCk = true)
public class LogChineseChessMove extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "局数")
    private int gameNo;
    @FieldTypeAnnotation(desc = "步数")
    private int step;
    @FieldTypeAnnotation(desc = "操作类型1移动2分身复活3元宝复活4新手保护5通关6游戏结束")
    private int opTypo;
    @FieldTypeAnnotation(desc = "强化类型0没有强化1道具强化2吃帅强化3两者都有")
    private int power;
    @FieldTypeAnnotation(desc = "剩余回合数")
    private int endStep;
    @FieldTypeAnnotation(desc = "是否有分身复活1是有")
    private int isFenshen;
    @FieldTypeAnnotation(desc = "增加积分，注意类型是回退的实际不会加")
    private long addScore;
    @FieldTypeAnnotation(desc = "吃了什么棋子")
    private String eatChess;
    @FieldTypeAnnotation(desc = "下一次生成棋子")
    private String nextChess;
    @FieldTypeAnnotation(desc = "棋子皮肤")
    private String chessSkin;
    @FieldTypeAnnotation(desc = "移动前棋盘信息")
    private String chessData;
    @FieldTypeAnnotation(desc = "移动后棋盘信息")
    private String moveChessData;
    @FieldTypeAnnotation(desc = "当局分数")
    private long score;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;



    public LogChineseChessMove(int activityId, long userId, int gameNo, int step, int opTypo,int power, int endStep, int isFenshen, long addScore, String eatChess, String nextChess, String chessSkin, String chessData, String moveChessData, long score, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.gameNo = gameNo;
        this.step = step;
        this.opTypo = opTypo;
        this.power = power;
        this.endStep = endStep;
        this.isFenshen = isFenshen;
        this.addScore = addScore;
        this.eatChess = eatChess;
        this.nextChess = nextChess;
        this.chessSkin = chessSkin;
        this.chessData = chessData;
        this.moveChessData = moveChessData;
        this.score = score;
        this.reward = reward;
        this.time = System.currentTimeMillis();
    }

    public int getPower() {
        return power;
    }

    public String getChessSkin() {
        return chessSkin;
    }

    public int getActivityId() {
        return activityId;
    }

    public long getUserId() {
        return userId;
    }

    public int getGameNo() {
        return gameNo;
    }

    public int getStep() {
        return step;
    }

    public int getOpTypo() {
        return opTypo;
    }

    public int getEndStep() {
        return endStep;
    }

    public int getIsFenshen() {
        return isFenshen;
    }

    public long getAddScore() {
        return addScore;
    }

    public String getEatChess() {
        return eatChess;
    }

    public String getNextChess() {
        return nextChess;
    }

    public String getChessData() {
        return chessData;
    }

    public String getMoveChessData() {
        return moveChessData;
    }

    public long getScore() {
        return score;
    }

    public String getReward() {
        return reward;
    }

    public long getTime() {
        return time;
    }
}
